package org.example.feign.client;

import org.example.pojo.Product;
import org.example.pojo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

//@FeignClient("service-provider")
public interface ProductClient {
    @GetMapping("/api/product")
    public List<Product> getList();
}
